<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>后台管理系统</title>
<meta name="author" content="DeathGhost" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
 

<!--[if lt IE 9]>
<script src="js/html5.js"></script>
<![endif]-->
    
<script src="js/jquery.js"></script>
<script src="js/jquery.mCustomScrollbar.concat.min.js"></script>  
<script>
	(function($){
		$(window).load(function(){
			
			$("a[rel='load-content']").click(function(e){
				e.preventDefault();
				var url=$(this).attr("href");
				$.get(url,function(data){
					$(".content .mCSB_container").append(data); //load new content inside .mCSB_container
					//scroll-to appended content 
					$(".content").mCustomScrollbar("scrollTo","h2:last");
				});
			});
			
			$(".content").delegate("a[href='top']","click",function(e){
				e.preventDefault();
				$(".content").mCustomScrollbar("scrollTo",$(this).attr("href"));
			});
			
		});
	})(jQuery);
</script>
    
<!--
     <tr>
        <td height="20" bgcolor="#FFFFFF"><div align="center">
          <input type="checkbox" name="checkbox2" id="checkbox2" />
        </div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE6"><div align="center"><span class="STYLE19">00001</span></div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">黄焖鸡</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">餐饮</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">大规格</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">aaaaaaaaaaaa</div></td>
        <td height="20" bgcolor="#FFFFFF"><div align="center" class="STYLE21">同意|拒绝</div></td>
      </tr>
-->
    
    <!--商家审核的待审核按钮事件-->
   <script>
       
       var business;
       var td;
       var td2;
       var div;
       var input;
       var end;
       $(document).ready(function(){
            business=$("#bustable"); 
//                 <td width="4%" height="20" bgcolor="d3eaef" class="STYLE10"><div align="center">
//          <input type="checkbox" name="checkbox" id="checkbox" />
//        </div></td>
                td = "<td height=\"20\" bgcolor=\"#FFFFFF\">";
                td2 = "<td height=\"20\" bgcolor=\"#FFFFFF\" class=\"STYLE19\">";
                div = "<div align=\"center\"><span class=\"STYLE10\">";
                input = "<input type=\"checkbox\"/>";
                end = "</span></div></td>";
       })
       

    	    function sh(){ 
            $.ajax("listVerifyBusiness",{
    	            method:"Get",
    	            success:function(d){
                        for(var i = 0,l = d.length; i < l; i++){
                            
                            $("<tr></tr>")
                        .append($(td + div + input + end))
    	            	.append($(td2 + div + end).text(d[i].bid))
    	            	.append($(td2 + div + end).text(d[i].name))
    	            	.append($(td2 + div + end).text(d[i].information))
                        .append($("<td height=\"20\" bgcolor=\"#FFFFFF\" class=\"STYLE19\"><div align=\"center\" class=\"STYLE21\">\
                                  <a href=\"#\" onclick=\"agree(this);return false\">同意</a>|<a href=\"#\" onclick=\"reject();return false\">拒绝</a></div></td>"))
    	            	.appendTo(business);
                        }
    	            	
    	            }
    	        });
    	    }
       
       function agree(th){
           
           
           
//           alert($(this).parent("tr").find("td").eq(2).text());

            var tr = $(th).parent().parent().parent();
           var bid = tr.find("td").eq(1).text();
           var status = 1;
           
           var data = {bid:bid,status:status};
           
           $.ajax("changeVerifyBusiness",{
               method:"Get",
               data:data,
               success: function(d){
                   alert("success");
                   
               }
           });
           
           tr.remove();
       
       }
       

</script>
    
    
    
</head>
<body>
<!--header-->
<header>
 <h1><img src="WebContent/images/admin_logo.png"/></h1>
 <ul class="rt_nav">
  <li><a href="http://www.aspku.com/" target="_blank" class="website_icon">首页</a></li>
  <li><a href="#" class="admin_icon">admin</a></li>
  <li><a href="#" class="set_icon">账号设置</a></li>
  <li><a href="login.html" class="quit_icon">安全退出</a></li>
 </ul>
</header>

<!--aside nav-->
<aside class="lt_aside_nav content mCustomScrollbar">
 <h2><a href="index.html">起始页</a></h2>
 <ul>
  <li>
   <dl>
    <dt>商家审核</dt>
    <dd><a href="#" onclick="sh();return false">待审核</a></dd>
    <dd><a href="#">审核记录</a></dd>
   </dl>
  </li>
  <li>
   <dl>
    <dt>商户管理</dt>
    <dd><a href="#" class="link_btn1" id="showPopTxt">快速查找</a></dd>
    
    <dd><a href="#">商家分类</a></dd>
    
   
   </dl>
  </li>
  <li>
   <dl>
    <dt>投诉处理</dt>
    <dd><a href="#">1</a></dd>
   </dl>
  </li>
  <li>
   <dl>
    <dt>其他</dt>
    <dd><a href="#">待添加</a></dd>
    <dd><a href="#">待添加</a></dd>
    <dd><a href="#">待添加</a></dd>
   </dl>
  </li>
     

  <li>
   <p class="btm_infor">$订餐管理$</p>
  </li>  
     
 </ul>  
</aside>

<section class="rt_wrap content mCustomScrollbar">
 <div class="rt_content">
     
     <!--开始：以下内容则可删除，仅为素材引用参考-->
   <h1 style="color:red;font-size:20px;font-weight:bold;text-align:center;">订餐后台管理</h1>
  
     <!--tabStyle-->
     <script>
     $(document).ready(function(){
		 //tab
		 $(".admin_tab li a").click(function(){
		  var liindex = $(".admin_tab li a").index(this);
		  $(this).addClass("active").parent().siblings().find("a").removeClass("active");
		  $(".admin_tab_cont").eq(liindex).fadeIn(150).siblings(".admin_tab_cont").hide();
		 });
		 });
     </script>
     
    <!--快捷审核管理等--> 
    

     
     
     <!--弹出框效果-->
     <script>
     $(document).ready(function(){
		 //弹出文本性提示框
		 $("#showPopTxt").click(function(){
			 $(".pop_bg").fadeIn();
			 });
		 //弹出：确认按钮
		 $(".trueBtn").click(function(){
			 $(".pop_bg").fadeOut();
			 });
		 //弹出：取消或关闭按钮
		 $(".falseBtn").click(function(){
			 $(".pop_bg").fadeOut();
			 });
		 });
     </script>
     <section class="pop_bg">
      <div class="pop_cont">
       <!--title-->
       <h3>商家快速查找</h3>
       <!--content-->
       <div class="pop_cont_input">
        <ul>
         <li>
          <span>关键字</span>
          <input type="text" placeholder="餐饮..." class="textbox"/>
         </li>
         <li>
          <span class="ttl">城市</span>
          <select class="select">
           <option>选择省份</option>
          </select>
          <select class="select">
           <option>选择城市</option>
          </select>
          <select class="select">
           <option>选择区/县</option>
          </select>
         </li>
         <li>
          <span class="ttl">地址</span>
          <input type="text" placeholder="林泉街..." class="textbox"/>
         </li>
         <li>
          <span class="ttl">地址</span>
          <textarea class="textarea" style="height:50px;width:80%;"></textarea>
         </li>
        </ul>
       </div>
       <!--以pop_cont_text分界-->
       <div class="pop_cont_text">
        商家大概信息！！！！
       </div>
       <!--bottom:operate->button-->
       <div class="btm_btn">
        <input type="button" value="确认" class="input_btn trueBtn"/>
        <input type="button" value="关闭" class="input_btn falseBtn"/>
       </div>
      </div>
     </section>
     <!--结束：弹出框效果-->
     
     <script>
     $(document).ready(function(){
		 //弹出文本性提示框
		 $("#showPopTxt1").click(function(){
			 $(".pop_bg1").fadeOut();
			 });
     });
     </script>
     
     
     
     <!--待审核的表单   -->
   
     
    
     <section>
     <div id="abc">
      
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="24" bgcolor="#ffffff"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="6%" height="19" valign="bottom"><div align="center"><img src="images/tb.gif" width="14" height="14" /></div></td>
                <td width="94%" valign="bottom"><span class="STYLE1"> 管理人员基本信息列表</span></td>
              </tr>
            </table></td>
          
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table id="bustable" width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce" class="table">
      <tr>
        <td width="4%" height="20" bgcolor="d3eaef" class="STYLE10"><div align="center">
          <input type="checkbox" name="checkbox" id="checkbox" />
        </div></td>
        <td width="10%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">商家编号</span></div></td>
        <td width="15%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">店铺名</span></div></td>
        <td width="16%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">店铺描述</span></div></td>
<!--        <td width="27%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">店铺地址</span></div></td>-->
        <td width="14%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">基本操作</span></div></td>
      </tr>
<!--
      <tr>
        <td height="20" bgcolor="#FFFFFF"><div align="center">
          <input type="checkbox" name="checkbox2" id="checkbox2" />
        </div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE6"><div align="center"><span class="STYLE19">00001</span></div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">黄焖鸡</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">餐饮</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">大规格</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">aaaaaaaaaaaa</div></td>
        <td height="20" bgcolor="#FFFFFF"><div align="center" class="STYLE21">同意|拒绝</div></td>
      </tr>
      <tr>
        <td height="20" bgcolor="#FFFFFF"><div align="center">
          <input type="checkbox" name="checkbox3" id="checkbox3" />
        </div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">admin</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">系统管理员</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">13913612548</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">192.168.0.124</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">用户可以对系统的所有操作进行管理...</div></td>
        <td height="20" bgcolor="#FFFFFF"><div align="center"><span class="STYLE21">同意|拒绝</span></div></td>
      </tr>
      <tr>
        <td height="20" bgcolor="#FFFFFF"><div align="center">
          <input type="checkbox" name="checkbox4" id="checkbox4" />
        </div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">大盘鸡</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">餐饮</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">1大11</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">ssssss</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">进行管理...</div></td>
        <td height="20" bgcolor="#FFFFFF"><div align="center"><span class="STYLE21">同意|拒绝</span></div></td>
      </tr>
      <tr>
        <td height="20" bgcolor="#FFFFFF"><div align="center">
          <input type="checkbox" name="checkbox5" id="checkbox5" />
        </div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">兰州牛肉拉面</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">餐饮</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">122</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">1大苏打</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">进行管理...</div></td>
        <td height="20" bgcolor="#FFFFFF"><div align="center"><span class="STYLE21">同意|拒绝</span></div></td>
        </tr>
-->
    </table></td>
  </tr>
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="33%"><div align="left"><span class="STYLE22">&nbsp;&nbsp;&nbsp;&nbsp;共有<strong> 243</strong> 条记录，当前第<strong> 1</strong> 页，共 <strong>10</strong> 页</span></div></td>
        <td width="67%"><table width="312" border="0" align="right" cellpadding="0" cellspacing="0">
          <tr>
           <td width="49"><div align="center"><img src="images/main_54.gif" width="40" height="15" />首页</div></td>
            <td width="49"><div align="center"><img src="images/main_56.gif" width="45" height="15" />上一页</div></td>
            <td width="49"><div align="center"><img src="images/main_58.gif" width="45" height="15" />下一页</div></td>
            <td width="49"><div align="center"><img src="images/main_60.gif" width="40" height="15" />尾页</div></td>
            <td width="37" class="STYLE22"><div align="center">转到</div></td>
            <td width="22"><div align="center">
              <input type="text" name="textfield" id="textfield"  style="width:20px; height:12px; font-size:12px; border:solid 1px #7aaebd;"/>
            </div></td>
            <td width="22" class="STYLE22"><div align="center">页</div></td>
            <td width="35"><img src="images/main_62.gif" width="26" height="15" /></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>

     
     
     </div>
     </section>
    
    
     
     
    
    
 </div>
</section>
</body>
</html>
